package com.jk.kdd.system.dao;

import com.jk.kdd.system.model.SystemUser;

import java.util.List;
import java.util.Map;

public interface SystemUserMapper {
    int deleteByPrimaryKey(Long id);

    int insert(SystemUser record);

    int insertSelective(SystemUser record);

    SystemUser selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(SystemUser record);

    int updateByPrimaryKey(SystemUser record);

    List<SystemUser> selectAll();

    SystemUser selectUserByUsername(String username);

    List<SystemUser> selectUserByManageUserId(Long id);

    List<SystemUser> selectUserByManageUserIdAndRoleName(Map paramMap);

    List<SystemUser> selectUserByRoleName(String rolename);
}